package com.xyz.entity.mapper;

import com.xyz.entity.pojo.PatrolTemplateSubsystem;
import com.xyz.entity.pojo.PatrolTemplateSubsystemExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PatrolTemplateSubsystemMapper {
    long countByExample(PatrolTemplateSubsystemExample example);

    int deleteByExample(PatrolTemplateSubsystemExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PatrolTemplateSubsystem record);

    int insertSelective(PatrolTemplateSubsystem record);

    List<PatrolTemplateSubsystem> selectByExample(PatrolTemplateSubsystemExample example);

    PatrolTemplateSubsystem selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PatrolTemplateSubsystem record, @Param("example") PatrolTemplateSubsystemExample example);

    int updateByExample(@Param("record") PatrolTemplateSubsystem record, @Param("example") PatrolTemplateSubsystemExample example);

    int updateByPrimaryKeySelective(PatrolTemplateSubsystem record);

    int updateByPrimaryKey(PatrolTemplateSubsystem record);
}